<?
$item = $this->item;
?>
<table class="GridView">
    <tbody>
    <tr>
        <td colspan="2" class="FirstHeader">

            <div class="ufi_ad_panel" style="color: black;">
                <?=$item['name']?>

            </div>
            <div style="padding: 10px;">
                <img src="/design/sample.jpeg">

            </div>
            <table class="GridView">


            </table>

        </td>
        <td style="vertical-align: middle; text-align: right;">

            <a class="menu_buttons" href="/index/view/id/<?=$item['id']?>" id="<?=$item['id']?>"><span>
            <?= $this->translate('Details') ?>
            </span></a>

        </td>

    </tr>

    <tr>
        <td colspan="2">
            <br>

        </td>
    </tr>

    <tr>
        <td colspan="3"
            style="font-size: 10px; border-bottom: 1px dashed rgb(85, 85, 85); text-align: right; padding: 5px 0pt;">
            <?=($item['data']->format('d-m-Y'));?>
        </td>
    </tr>


    <tr>

        <td colspan="2"><br>
            <? if (isset($item['tags'])): ?>
                <? foreach ($item['tags'] as $tag): ?>

                    <a href="/search?tags[]= <?= $tag['id'] ?>"> <?= $tag['name'] ?></a>

                    <? endforeach; ?>
                <? endif; ?>
        </td>
    </tr>


    </tbody>
</table>